<!--{capture}-->
<?php
	if (!defined('HOME-AREA')) {
		die('<meta http-equiv="refresh" content="0;../../../index.php" />');
	}
?>
<!--{/capture}-->
<!--{if $var_url.3 eq 'register'}-->
    <!--{assign var="c0" value=""}-->        
    <!--{assign var="c2" value=" class=\"active\""}-->
<!--{else}-->
    <!--{assign var="c0" value=" class=\"active\""}-->        
    <!--{assign var="c2" value=""}-->
<!--{/if}-->
<!--{include file='header.php'}-->
<table border="0" cellpadding="0" cellspacing="0" id="header">
  <tr>
    <td id="logo"><img src="<!--{$dir_path}-->images/aidiCMS_grey.jpg" width="56" height="56" alt="AIDICMS" longdesc="<!--{$dir_path}-->index.php/1/dinamis/2/tentang-aidicms/" />
      <h1 class="site-name"><a href="<!--{$dev_path}-->" title="<!--{$website_title}-->"><!--{$website_title}--></a></h1>
    </td>
  </tr>
</table>
<div id="content">
		<div id="sidebar-left">
            <div class="block block-content" id="block-content-1">
            <h2 class="title">Menu Utama</h2>
            <!--{list_category tipe='leftmenu'}-->    
            </div>
            <div class="block block-content" id="block-content-2">
                <h2 class="title"></h2>		
                <div class="content">
                    <!--{login_menu}-->
                    <ul>
                        <li><a href="<!--{$dir_path}-->chat.php" rel="lyteframe" title="Chat With aidiCMS Author" rev="width: 420px; height: 330px; scrolling: no;">aidiCMS Author Chat</a></li>
                        <li><a href="rss.php" title="aidiCMS RSS" accesskey="r"><img src="<!--{$dir_path}--><!--{$abs_themes}-->images/rss.png" width="95" height="32" alt="aidiCMS RSS Feed" border="0" /></a></li>
                    </ul>
                </div>
            </div>
            <div class="block block-content" id="block-content-1">
            <!--{list_news tipe='artikel' limit='0,4' order='tanggal DESC'}-->  
            </div>
            <div class="block block-content" id="block-content-1">
             <h2 class="title">Arsip Data</h2>
           <!--{list_category tipe='bottom_menu'}-->    
            </div>
           <div class="block block-content" id="block-content-1">
            <!--{showEachDetail kode='15' content='isi'}-->
            </div>
        </div>
    <div id="main2">
        <div id="menu">
            <ul id="returnDelay" class="lamp">
                        <li><a href="<!--{$dev_path}-->index.php" title="Halaman Utama">Home</a></li><!--{list_topmenu}-->
            </ul>
        </div>
			<h2 class="title">Akun Pengguna</h2>
			<div class="tabs"><ul class="tabs primary">
			<li<!--{$c0}-->><a href="<!--{$dev_path}-->index.php/1/user/login">log in</a></li>
			<li<!--{$c2}-->><a href="index.php/1/user/register" class="active">register</a></li>
			</ul>
			</div>         

<!-- begin content -->            
<!--{loginAndRegister}-->
<!--{if isset($smarty.session.sesi_ver)}-->
	<div class="messages valid"><!-- {$smarty.session.sesi_ver}--></div>
	<!--{$queryData->unset_session('sesi_ver')}-->
<!--{/if}-->
<!--{assign var='isidata' value=$queryData->selek1("tbl_content","judul='html-login-info'")}-->
<!--{$isidata->isi}-->
<!--{$queryData->unset_session('datax')}-->
<!--{if $var_url.3 eq 'login'}-->
<form class="cmxform" id="loginForm" action="" method="post">
	<fieldset>
		<legend>Log In</legend>
		<p>
			<label for="emailx">Email:</label>
			<input type="text" maxlength="64" name="username" id="emailx" autocomplete="off" />
		</p>
		<p>
			<label for="passwordx">Kata Kunci:</label>
			<input type="password" maxlength="64" name="password" id="passwordx" autocomplete="off" />
		</p>
		<p>

		<input type="hidden" name="val" id="val" value="<!--{$var_url.3}-->"  />
		<input type="submit" class="submit" value="Submit"  />
		</p>
	</fieldset>
</form>
<!--{else}-->
<form class="cmxform" id="signupForm" method="post" action="">
	<fieldset>
		<legend>Sign Up Form</legend>
		<p>
			<label for="email">Email</label>
			<input type="text" id="email" name="email" maxlength="64" autocomplete="off" />
		</p>
		<p>
			<label for="username">Complete Name</label>
			<input type="text" id="username" name="username" autocomplete="off" />
		</p>
		<p>
			<label for="password">Password</label>
			<input id="password" name="password" type="password" autocomplete="off" />
		</p>
		<p>
			<label for="confirm_password">Confirm password</label>
			<input id="confirm_password" name="confirm_password" type="password" autocomplete="off" />
		</p>
		<p>
			<label for="alamat">Alamat</label>
			<textarea name="alamat_rumah" id="alamat_rumah"></textarea>
		</p>
		<p>
			<label for="telp">Telp</label>
			<input id="telp" name="telp" type="text" autocomplete="off" />
		</p>
		<p>
			<input type="hidden" class="form-cek" name="val" id="val" value="register" />
			<input class="submit" type="submit" value="Submit"/>
		</p>
	</fieldset>
</form>
<!--{/if}-->
<!-- end content -->
            <div class="category border">
            <!--{tagUI limit=20}-->
            </div>
    	</div>
    </div>
</div>
<!--{include file='footer.php'}-->